package com.xin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xin.entity.shop.ShopOperateLogEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 店铺审核日志
 */
@Mapper
public interface ShopOperateLogMapper extends BaseMapper<ShopOperateLogEntity> {

    /***
     *查看店铺的审核记录 并按照时间顺序进行排序
     * @param shopId
     * @return
     */
    List<ShopOperateLogEntity> findByShopId(@Param("shopId") Long shopId);
}
